#include <windows.h>
#include <tlhelp32.h>
#include <string>
#include <list>
#include <map>
using namespace std;


bool loadLibraryRemote(DWORD dwProcessId, char *szDllName, LPDWORD lpExitCode);
bool freeLibraryRemote(DWORD dwProcessId, char *szDllName, LPDWORD lpExitCode);
void queryProcessList(map<int, string> & processMap);